package IOPeration;

import Book.Book;
import Book.BookList;

import java.util.Scanner;

public class Showbook implements Ioperation{
    public void work(BookList bookList){
        System.out.println("展示图书");
        int currenTsize= bookList.getUsedsize();
        for(int i=0;i<currenTsize;i++){
            Book book=bookList.getBooks(i);
            System.out.println(book);

        }
    }
}
